﻿/** 
 * Description:商品分类
 * Date:2011-7-12
 * Author:Along	
*/
package com.community.shopping.domain;

import java.util.Set;

public class GoodsType {
	
	 /**
	  * 类别ID
	  */
	  private Integer id;
	  /**
	   * 分店标识
	   */
	  private Integer shopId;	
	  /**
	   * 类别名称
	   */
	  private String typeName;
	  /**
	   * 类别排序
	   */
	  private Integer sort;
	  /**
	   * 状态  0:不显示 1:显示
	   */
	  private Integer status;
	  /**
	   * 第几级，标识是否到了根目录  ，目录只有三级,1,2,3
	   */
	  private Integer level;
	  /**
	   * 标识,用于分类路径和模板标识
	   */
	  private String tag;
	  /**
	   * 页面关键词，用于seo
	   */
	  private String keyword;
	  /**
	   * 页面描述，用于seo
	   */
	  private String description;
	  /**
	   * 创建人
	   */
	  private String createUser;
	  /**
	   * 创建时间
	   */
	  private String createDate;
	  /**
	   * 修改人
	   */
	  private String updateUser;
	  /**
	   * 修改时间
	   */
	  private String updateDate;
	  /**
	   * 上级类别
	   */
	  private GoodsType upGoodType;
	  /**
	   * 下级类别
	   */
	  private Set<GoodsType> underGoodTypes;
	 
	  /**
	   * 品牌
	   */
	  private Set<?> brands;

	/**
	 * @return the createDate
	 */
	public String getCreateDate() {
		return createDate;
	}
	/**
	 * @param createDate the createDate to set
	 */
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	/**
	 * @return the createUser
	 */
	public String getCreateUser() {
		return createUser;
	}
	/**
	 * @param createUser the createUser to set
	 */
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the sort
	 */
	public Integer getSort() {
		return sort;
	}
	/**
	 * @param sort the sort to set
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	/**
	 * @return the typeName
	 */
	public String getTypeName() {
		return typeName;
	}
	/**
	 * @param typeName the typeName to set
	 */
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	/**
	 * @return the underGoodTypes
	 */
	public Set<?> getUnderGoodTypes() {
		return underGoodTypes;
	}
	/**
	 * @param underGoodTypes the underGoodTypes to set
	 */
	public void setUnderGoodTypes(Set<GoodsType> underGoodTypes) {
		this.underGoodTypes = underGoodTypes;
	}
	/**
	 * @return the updateDate
	 */
	public String getUpdateDate() {
		return updateDate;
	}
	/**
	 * @param updateDate the updateDate to set
	 */
	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}
	/**
	 * @return the updateUser
	 */
	public String getUpdateUser() {
		return updateUser;
	}
	/**
	 * @param updateUser the updateUser to set
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * @return the upGoodType
	 */
	public GoodsType getUpGoodType() {
		return upGoodType;
	}
	/**
	 * @param upGoodType the upGoodType to set
	 */
	public void setUpGoodType(GoodsType upGoodType) {
		this.upGoodType = upGoodType;
	}
	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * @return the brands
	 */
	public Set<?> getBrands() {
		return brands;
	}
	/**
	 * @param brands the brands to set
	 */
	public void setBrands(Set<?> brands) {
		this.brands = brands;
	}
	  /**
	 * @return the level
	 */
	public Integer getLevel() {
		return level;
	}
	/**
	 * @param level the level to set
	 */
	public void setLevel(Integer level) {
		this.level = level;
	}
	/**
	 * @return the tag
	 */
	public String getTag() {
		return tag;
	}
	/**
	 * @param tag the tag to set
	 */
	public void setTag(String tag) {
		this.tag = tag;
	}
	/**
	 * @return the keyword
	 */
	public String getKeyword() {
		return keyword;
	}
	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the shopId
	 */
	public Integer getShopId() {
		return shopId;
	}
	/**
	 * @param shopId the shopId to set
	 */
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}


}
